package com.ruoyi.train.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 培训对象 train
 *
 * @author zy
 * @date 2022-08-25
 */
public class Train extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 培训流水号 */
    @Excel(name = "培训流水号")
    private String trainId;

    /** 申请人id */
    private Long userId;

    /** 申请人姓名 */
    @Excel(name = "姓名")
    private String userName;

    /** 申请人部门 */
    @Excel(name = "部门")
    private String userDept;

    /** 人员类别 */
    @Excel(name = "人员类别")
    private String userLeibie;

    /** 员工类型 */
    @Excel(name = "岗位类型")
    private String userLeixing;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String trainName;

    /** 培训类型 */
    @Excel(name = "培训类型")
    private String trainType;

    /** 培训学时 */
    @Excel(name = "培训学时/小时")
    private String trainHours;

    /** 培训时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "培训时间", width = 15, dateFormat = "yyyy-MM-dd")
    private Date trainTime;

    /**
     * 创建时间
     */
    @Excel(name = "申请日期",width = 25, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 课程内容 */
    @Excel(name = "课程内容")
    private String trainContent;

    /** 备注 */
    @Excel(name = "备注")
    private String trainRemarks;

    /** 主办单位 */
    private String trainHostDept;

    /** 培训地点 */
    private String trainPlace;

    /** 上传附件 */
    private String trainFile;

    /** 0未审核，1同意，2不同意 */
    @Excel(name = "核实结果",readConverterExp="0=未审批,1=确定,2=未发生")
    private Integer trainIdea;

    private String jobCategory;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birthday;

    public void setTrainId(String trainId)
    {
        this.trainId = trainId;
    }

    public String getTrainId()
    {
        return trainId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setUserDept(String userDept)
    {
        this.userDept = userDept;
    }

    public String getUserDept()
    {
        return userDept;
    }
    public void setUserLeibie(String userLeibie)
    {
        this.userLeibie = userLeibie;
    }

    public String getUserLeibie()
    {
        return userLeibie;
    }
    public void setUserLeixing(String userLeixing)
    {
        this.userLeixing = userLeixing;
    }

    public String getUserLeixing()
    {
        return userLeixing;
    }
    public void setTrainName(String trainName)
    {
        this.trainName = trainName;
    }

    public String getTrainName()
    {
        return trainName;
    }
    public void setTrainType(String trainType)
    {
        this.trainType = trainType;
    }

    public String getTrainType()
    {
        return trainType;
    }
    public void setTrainHours(String trainHours)
    {
        this.trainHours = trainHours;
    }

    public String getTrainHours()
    {
        return trainHours;
    }
    public void setTrainTime(Date trainTime)
    {
        this.trainTime = trainTime;
    }

    public Date getTrainTime()
    {
        return trainTime;
    }
    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setTrainContent(String trainContent)
    {
        this.trainContent = trainContent;
    }

    public String getTrainContent()
    {
        return trainContent;
    }
    public void setTrainRemarks(String trainRemarks)
    {
        this.trainRemarks = trainRemarks;
    }

    public String getTrainRemarks()
    {
        return trainRemarks;
    }
    public void setTrainFile(String trainFile)
    {
        this.trainFile = trainFile;
    }

    public String getTrainFile()
    {
        return trainFile;
    }
    public void setTrainIdea(Integer trainIdea)
    {
        this.trainIdea = trainIdea;
    }

    public Integer getTrainIdea()
    {
        return trainIdea;
    }

    public String getTrainHostDept() {
        return trainHostDept;
    }

    public void setTrainHostDept(String trainHostDept) {
        this.trainHostDept = trainHostDept;
    }

    public String getTrainPlace() {
        return trainPlace;
    }

    public void setTrainPlace(String trainPlace) {
        this.trainPlace = trainPlace;
    }

    public String getJobCategory() {
        return jobCategory;
    }

    public void setJobCategory(String jobCategory) {
        this.jobCategory = jobCategory;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return "Train{" +
                "trainId='" + trainId + '\'' +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userDept='" + userDept + '\'' +
                ", userLeibie='" + userLeibie + '\'' +
                ", userLeixing='" + userLeixing + '\'' +
                ", trainName='" + trainName + '\'' +
                ", trainType='" + trainType + '\'' +
                ", trainHours='" + trainHours + '\'' +
                ", trainTime=" + trainTime +
                ", createTime=" + createTime +
                ", trainContent='" + trainContent + '\'' +
                ", trainRemarks='" + trainRemarks + '\'' +
                ", trainHostDept='" + trainHostDept + '\'' +
                ", trainPlace='" + trainPlace + '\'' +
                ", trainFile='" + trainFile + '\'' +
                ", trainIdea=" + trainIdea +
                ", jobCategory='" + jobCategory + '\'' +
                ", birthday=" + birthday +
                '}';
    }
}
